from time import sleep
import datetime
start_time = datetime.datetime.now()
sleep(1)
end_time = datetime.datetime.now()
strTime = 'funtion time use:%dms' % ((end_time -start_time).seconds * 1000 + (end_time -start_time).microseconds / 1000)
print(strTime)
